package com.hruiworks.campusgroup.enums;

import lombok.Getter;

@Getter
public enum SseMessageType {

    GROUP_START_NOTICE(1, "group_start_message"),
    HEARTBEAT(2, "heartbeat"),
    NEW_ACTIVITY(3, "new_activity"),
    NEW_MEMBER(4, "new_member"),

    ;
    public final Integer code;

    public final String messageType;

    SseMessageType(Integer code, String messageType) {
        this.code = code;
        this.messageType = messageType;
    }
}
